package cn.yunyichina.provider.order.constant;

/**
 * Created by Lullaby on 2016/9/28.
 */
public enum ResponseEnum implements cn.yunyichina.provider.framework.common.ResponseEnum {

    ORDER_EXCEPTION                    ("16000", "订单系统异常"),
    ORDER_TYPE_NOT_SUPPORT             ("16101", "不支持的订单类型"),
    PAY_MODE_NULL                      ("16102", "支付类型不能为空"),
    PAY_MODE_NOT_SUPPORT               ("16103", "不支持的支付类型"),
    ORDER_INSERT_FAILURE               ("16104", "新增订单失败"),
    ORDER_MEDICAL_CARD_QUERY_FAILURE   ("16105", "医保信息查询失败"),
    ORDER_FACEPAY_EXCEPTION            ("16106", "当面付异常"),
    ORDER_FACEPAY_FAILURE              ("16107", "当面付失败"),
    ORDER_FACEPAY_MANUAL               ("16108", "当面付异常，需人工干预，请联系相关人员"),
    ORDER_FACEPAY_REVERSED             ("16109", "当面付订单已撤销"),
    ;

    private String code;

    private String message;

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }

}

